﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EraNet.Core.Model.Account
{
    [Serializable]
    public class Member : BaseEntity
    {
        
        /// <summary>
        /// 账户名，默认情况下，和用户姓名一致,重复时，后面随机字符串(3到5位)
        /// 添加新的驾校时，会同时插入一条驾校名的账户
        /// </summary>
        public virtual string AccountName { get; set; }
        /// <summary>
        /// 密码，默认成123456
        /// </summary>
        public virtual string Password { get; set; }
        /// <summary>
        /// 学校ID
        /// </summary>
        public virtual int SchoolID { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string Names { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public virtual string Sex { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public virtual string Nation { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public virtual string IDCard { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public virtual DateTime Birthday { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public virtual string Telephone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public virtual string Address { get; set; }
        /// <summary>
        /// 邮件地址
        /// </summary>
        public virtual string Email { get; set; }
        /// <summary>
        /// 状态，
        /// 1正常状态
        /// 200.
        /// 100.
        /// </summary>
        public virtual int Status { get; set; }
        /// <summary>
        /// 是否是系统默认添加的
        /// 默认的不能修改状态
        /// </summary>
        public virtual bool IsSuper { get; set; }
        /// <summary>
        /// 添加人ID
        /// </summary>
        public virtual int CreatedByUserID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateDate { get; set; }
        /// <summary>
        /// 最后登陆的IP地址
        /// </summary>
        public virtual string LastIPAddress { get; set; }
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public virtual DateTime LastLoginDate { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public virtual DateTime ExpireDate { get; set; }

        /// <summary>
        /// 学习车型 
        /// </summary>
        public virtual string LearnCar { get; set; }

        /// <summary>
        /// 学员头像
        /// </summary>
        public virtual string Photo { get; set; }
    }
}
